#ifndef _MENU_
#define _MENU_

#include <stdio.h>
#include <stdlib.h>
#include <conio.h>


#include "OptMenu.h"
#include "Game.h"

#define ITEMCOUNT 5

typedef struct//PageStatus
    {
        char Key;
        int Enter;
        int FocusItem, LastItem;
        int FinalScore;
        int Played;//See if user Played
    }PageStatus;
enum OPT_MENU_ITEM
    {
        OPT_MENU_PARK_NEW_CAR,
        OPT_MENU_DRIVE_AWAY,
        OPT_MENU_SEARCH,
        OPT_MENU_PRINT_TABLE,
        OPT_MENU_EXIT
    };
void Menu();
void InitMenu(PageStatus *pStat);
void Jump(PageStatus *pStat);

void OperateMenu(PageStatus *pStat);
void UpItem(PageStatus *pStat);
void DownItem(PageStatus *pStat);
void ResetItem(PageStatus *pStat);

void Exit(PageStatus *pStat);
#include "WinAPI.h"
#include "Color.h"
#include "Help.h"

#endif
